//
//  LFBFlashMarketViewController.m
//  LFBLoveFreshBee
//
//  Created by 丁鼎 on 16/8/18.
//  Copyright © 2016年 丁鼎. All rights reserved.
//

#import "LFBFlashMarketViewController.h"
#import "LFBLeftTableView.h"
#import "LFBRightTableView.h"
#import "LFBNavBar.h"

@interface LFBFlashMarketViewController ()<LFBNavBarDelegate>

@end

@implementation LFBFlashMarketViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationController.navigationBar.hidden = YES;
    
    LFBNavBar *nav = [[LFBNavBar alloc]initWithFrame:CGRectMake(0, 0, KScreenWidth, 64)];
    
    nav.navdelegate = self;
    
    [self.view addSubview:nav];

//    // Do any additional setup after loading the view.
//    self.view.backgroundColor = [UIColor greenColor];
//    //左边tableView
//    LFBLeftTableView * lefeVC = [[LFBLeftTableView alloc] init];
//    lefeVC.view.frame = CGRectMake(0, 0, 150, KScreenHeight);
//    
//    [self addChildViewController:lefeVC];
//    [self.view addSubview:lefeVC.view];
//    //右边tableView
//    LFBRightTableView * rightVC = [[LFBRightTableView alloc] init];
//    rightVC.view.frame = CGRectMake(lefeVC.view.bounds.size.width, 64, KScreenWidth - lefeVC.view.bounds.size.width, KScreenHeight);
//    
//    [self addChildViewController:rightVC];
//    [self.view addSubview:rightVC.view];
}
//
//- (void)didReceiveMemoryWarning {
//    [super didReceiveMemoryWarning];
//    // Dispose of any resources that can be recreated.
//}

-(void)clickScanBtn:(LFBNavBar *)navbar{
    
    NSLog(@"%s",__func__);
    
}
-(void)clickSearchBtn:(LFBNavBar *)navbar
{
    NSLog(@"%s",__func__);
}

-(void)clickAddressTitle:(LFBNavBar *)navbar{
    NSLog(@"%s",__func__);
}

@end
